package com.dailyblue.java.cloud.service.impl;

import com.dailyblue.java.cloud.service.Consumer8002Service;
import com.dailyblue.java.cloud.util.JsonResult;
import com.dailyblue.java.cloud.util.ResultTool;
import org.springframework.stereotype.Component;

@Component
public class Consumer8002FallbackService implements Consumer8002Service {

    @Override
    public JsonResult a() {
        return ResultTool.success("我是错误处理类a");
    }

    @Override
    public JsonResult b(String name) {
        return ResultTool.success("我是错误处理类b");
    }
}
